package com.visikard.application;

import java.util.Locale;

import android.os.Environment;

public class Constant {

	public static final int DEFAULT_TIMEOUT = 10000;
	/**
	 * Folder is used to save down load image in SDCard.
	 */
	public static final String SDCARD_CACHE_PREFIX = Environment.getExternalStorageDirectory() + "/Visikard/";
	public static final String SDCARD_CACHE_KARD = SDCARD_CACHE_PREFIX + "Kard";
	/**
	 * Image type
	 */
	public static final String PNG = ".PNG";
	public static final String JPEG = ".JPEG";

	public static final String TIME_FORMAT_STR = "yyyy-MM-dd'T'HH:mm:ssZ";
	public static final String TIME_SHORT_FORMAT_STR = "h:mm a";
	public static final String TIME_FULL_FORMAT_STR = "hh:mm a";
	public static final String TIME_SHORT_FORMAT_HHMM = "HH:mm";
	public static final String TIME_SHORT_FORMAT_HHMMSS = "HH:mm:ss";
	public static final String TIME_FORMAT_STR_JUST_DATE = "MM/dd/yyyy";
	public static final String TIME_FORMAT_STR_DAY_DATE = "EEEE MM/dd/yyyy";
	public static final String TIME_FORMAT_STR_DAY_ONLY = "EEEE";
	public static final String TIME_FORMAT_STR_MONTH_DATE = "MMM dd, yyyy";
	public static final String TIME_FORMAT_STR_FULL_MONTH_DATE = "MMMM dd, yyyy";
	public static final String TIME_FORMAT_STR_JUST_MONTH_DATE = "MMM dd";
	public static final String TIME_FORMAT_STR_FULLMONTH_DATE = "MMMM dd";
	public static final String TIME_FORMAT_STR_FULLMONTH_DATE2 = "MMMM, dd";
	public static final String TIME_FORMAT_STR_ALBUM_DATE = "MM/dd/yyyy";
	public static final String TIME_FORMAT_STR_BACCKARD_DETAIL = "MM/dd/yy HH:mm aa";
	public static final String TIME_FORMAT_STR_MESSAGE = "MMM dd, yyyy - HH:mm aa";
	public static final String TIME_FORMAT_STR_VIDEO_DURATION = "HH:mm:ss";
	public static final String BACKKARD_TIME_SHORT_FORMAT_STR = "HH";
	public static final String BACKKARD_DAY_OF_WEEK_FORMAT_STR = "EEE";
	public static final String BACKKARD_DAY_SHORT_FORMAT_STR = "M/d";
	public static final String TIME_FORMAT_STR_US_DATE = "yyyy-MM-dd";
	public static final String DATETIME_FULL_FORMAT = "MMM dd, yyyy HH:mm aa";
	public static final Locale DEFAULT_LOCALE = Locale.US;

	public static final int DAY = 8640000; // 1000*60*60*24;

	public static final String PLEASE_LOGIN = "Please login before get data!";

	public static final String VERSION = "51054";

	public static final boolean CLIENT_SSL = false;
	public static final String FONT_REGULAR = "fonts/Comfortaa-Regular.ttf";
	public static final String FONT_BOLD = "fonts/Comfortaa-Bold.ttf";
	public static final String FONT_THIN = "fonts/Comfortaa-Thin.ttf";
	public static final String FONT_GOTHAM_BOOK = "fonts/Gotham-Book.ttf";
	public static final String FONT_GOTHAM_BOLD = "fonts/Gotham-Bold.ttf";

	public static final int STATUS_HTTP_OK = 200;
	public static final int STATUS_NOT_CONNECTION = 400;
	public static final int STATUS_CONNECTION_TIMEOUT = 405;
	public static final int STATUS_NOT_JSON = 408;

	public static final String SDCARD_TAKE_PHOTO_CACHE_PREFIX = SDCARD_CACHE_PREFIX + "/photo.jpg";
	public static final String SDCARD_TAKE_VIDEO_CACHE_PREFIX = SDCARD_CACHE_PREFIX + "/video.mp4";
	public static final int BITMAP_MAX_SIZE = 960;

	public static final int CB_IMAGE_HEIGHT = 135;
	public static final int CB_IMAGE_WIDTH = 300;

	public static final int CALLBACK_SERVERCALL_ERROR = 49;
	public static final int MESSAGE_SHOW_PROGRESS_DIALOG = 50;
	public static final int MESSAGE_DISMISS_PROGRESS_DIALOG = 51;

	public static final String START_DATE_SEARCH = "00:00:00";
	public static final String END_DATE_SEARCH = "23:59:59";

	public static final int MERCHANT_ID_LENGTH = 8;
	public static final int STORE_ID_LENGTH = 8;

	// used for server
	public static final String BOOLEAN_TRUE = "true";
	public static final String BOOLEAN_FALSE = "false";
	public static final String STATUS_OK = "OK";
	public static final long INVALID_ID = -1;

	public static final String LOG_TAG = "Visikard";
	public static final String TAG = "Visikard_";
	public static final String API_TAG = "VkReg_Api";

	public static final String ANDROID_ID_NUM = "2";
	/**
	 * Son Fragment tag
	 */
	public static final String LIST_COUPON_FRAGMENT_TAG = "ListCouponFragmentTag";
	public static final String CREATE_COUPON_FRAGMENT_TAG = "CreateCouponFragmentTag";
	public static final String COUPON_CAMERA_FRAGMENT_TAG = "CameraPreviewFragmentTag";
	public static final String COUPON_INFO_FRAGMENT_TAG = "CouponInfoFragmentTag";
	public static final String COUPON_PREVIEW_FRAGMENT_TAG = "CouponPreviewFragmentTag";
}
